package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@SpringBootApplication(
    exclude = {
            DataSourceAutoConfiguration.class,           // 禁用数据源自动配置
            HibernateJpaAutoConfiguration.class          // 如果不需要 JPA 也禁用
    }
)
public class DocxApp {
    public static void main(String[] args) {
        SpringApplication.run(DocxApp.class, args);
    }
}